package cn.wolfcode.shop.cloud;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class CodeMsg implements Serializable {
    public final static CodeMsg DEFAULT_ERROR = new CodeMsg(500,"服务器正忙，请稍后再试.");
    private int code;
    private String msg;
    public CodeMsg(){}
    public CodeMsg(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
